package com.ruoyi.behavior.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReviewVo {
//    @JsonIgnore
    private Long id;
    private Integer rate;
    private String title;
    private String description;
    private List<String> urls;
    private List<RepliesVo> replies;

    // 临时字段用于接收数据库中的逗号分隔字符串
    @JsonIgnore
    private String urlsRaw;
    @JsonIgnore
    private Long replyId;
    @JsonIgnore
    private Long reviewId;
    @JsonIgnore
    private Long userId;
    @JsonIgnore
    private Long parentId;
    @JsonIgnore
    private Long replyToUserId;
    @JsonIgnore
    private String content;
    @JsonIgnore
    private Date createdTime;

}
